home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Toolbox
/
Visual Basic Toolbox (P.I.E.)(1996).ISO
/
gauge
/
slidvb25
/
slidmdi.frm
< prev
next >
Wrap
Text File
|
1996-01-17
|
3KB
|
121 lines
VERSION 2.00
Begin MDIForm MDIForm1
Caption = "Slider Custom Control VBX"
ClientHeight = 5880
ClientLeft = 1530
ClientTop = 1725
ClientWidth = 6990
Height = 6570
Icon = SLIDMDI.FRX:0000
Left = 1470
LinkTopic = "MDIForm1"
Top = 1095
Width = 7110
WindowState = 2 'Maximized
Begin Menu mnu
Caption = "&Demos"
Index = 0
Begin Menu demo
Caption = "&BitMaps and Orientation Properties"
Index = 0
End
Begin Menu demo
Caption = "&Caption Properties"
Index = 1
End
Begin Menu demo
Caption = "&Digital Properties"
Index = 2
End
Begin Menu demo
Caption = "&Knob Properties"
Index = 3
End
Begin Menu demo
Caption = "&Shape Properties"
Index = 4
End
Begin Menu demo
Caption = "&Tic Properties"
Index = 5
End
Begin Menu demo
Caption = "&Examples"
Index = 6
End
End
Begin Menu mnu
Caption = "&Help"
Index = 1
Begin Menu help
Caption = "About Slider"
Index = 0
End
Begin Menu help
Caption = "Slider Control"
Index = 1
End
Begin Menu help
Caption = "All GMS Controls"
Index = 2
End
End
Begin Menu mnu
Caption = "&Order"
Index = 2
End
Begin Menu mnu
Caption = "E&xit"
Index = 3
End
End
Sub demo_Click (index As Integer)
Select Case index
Case 0
BitmapDemo.Show
Case 1
CaptionDemo.Show
Case 2
DigitalDemo.Show
Case 3
KnobDemo.Show
Case 4
ShapeDemo.Show
Case 5
TicDemo.Show
Case 6
Examples.Show
End Select
End Sub
Sub help_Click (index As Integer)
Select Case index
Case 0 'about
sabout.Show
Case 1 'control
x = Shell("winhelp.exe SLIDER.HLP", 1)
Case 2 'library
x = Shell("winhelp.exe INSTRMLB.HLP", 1)
End Select
End Sub
Sub MDIForm_Load ()
sabout.Show
End Sub
Sub mnu_Click (index As Integer)
If index = 2 Then x = Shell("winhelp.exe order.HLP", 1)
If index = 3 Then End
End Sub